package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @Date 2021/7/27 15:58
 * @Created by wangle
 * @Description
 */
@Component
public class PaymentFallbackService  implements  PaymentHystrixService{


    @Override
    public String paymentInfo_OK(Integer id) {
        return "paymentInfo_OK,出现异常，qqq";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "报错的出现异常，第二个句子";
    }
}
